package org.lwd.datalink.domain.task;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.apache.ibatis.type.Alias;
import org.lwd.datalink.domain.Storable;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 同步任务性能统计
 *
 * @Author: weidong.lin
 * @Date: create in 2024/4/9 14:19
 */
@Alias("taskStatistic")
@Getter
@Setter
@ToString
public class TaskStatisticInfo implements Serializable, Storable {

    private Long id;
    private Long taskId;
    private long recordsPerMinute;
    private long sizePerMinute;
    private BigDecimal writeTimePerRecord;
    private long exceptionsPerMinute;
    private long readWriteCountPerMinute;
    private Date createTime;
}
